<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>预定义常量</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="sodium.resources.html">« 资源类型</a></li>
      <li style="float: right;"><a href="ref.sodium.html">Sodium 函数 »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="book.sodium.html">Sodium</a></li>
    <li>预定义常量</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="sodium.constants" class="appendix">
 <h1>预定义常量</h1>

 <p class="simpara">下列常量由此扩展定义，且仅在此扩展编译入 PHP 或在运行时动态载入时可用。</p>
 <p class="para">
  <dl>
   
    <dt id="constant.sodium-library-version">
     <strong><code>SODIUM_LIBRARY_VERSION</code></strong>
     (<span class="type">string</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-library-major-version">
     <strong><code>SODIUM_LIBRARY_MAJOR_VERSION</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-library-minor-version">
     <strong><code>SODIUM_LIBRARY_MINOR_VERSION</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-aead-aes256gcm-keybytes">
     <strong><code>SODIUM_CRYPTO_AEAD_AES256GCM_KEYBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-aead-aes256gcm-nsecbytes">
     <strong><code>SODIUM_CRYPTO_AEAD_AES256GCM_NSECBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-aead-aes256gcm-npubbytes">
     <strong><code>SODIUM_CRYPTO_AEAD_AES256GCM_NPUBBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-aead-aes256gcm-abytes">
     <strong><code>SODIUM_CRYPTO_AEAD_AES256GCM_ABYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-aead-chacha20poly1305-keybytes">
     <strong><code>SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_KEYBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-aead-chacha20poly1305-nsecbytes">
     <strong><code>SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_NSECBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-aead-chacha20poly1305-npubbytes">
     <strong><code>SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_NPUBBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-aead-chacha20poly1305-abytes">
     <strong><code>SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_ABYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-aead-chacha20poly1305-ietf-keybytes">
     <strong><code>SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_IETF_KEYBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-aead-chacha20poly1305-ietf-nsecbytes">
     <strong><code>SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_IETF_NSECBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-aead-chacha20poly1305-ietf-npubbytes">
     <strong><code>SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_IETF_NPUBBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-aead-chacha20poly1305-ietf-abytes">
     <strong><code>SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_IETF_ABYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-auth-bytes">
     <strong><code>SODIUM_CRYPTO_AUTH_BYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-auth-keybytes">
     <strong><code>SODIUM_CRYPTO_AUTH_KEYBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-box-sealbytes">
     <strong><code>SODIUM_CRYPTO_BOX_SEALBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-box-secretkeybytes">
     <strong><code>SODIUM_CRYPTO_BOX_SECRETKEYBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-box-publickeybytes">
     <strong><code>SODIUM_CRYPTO_BOX_PUBLICKEYBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-box-keypairbytes">
     <strong><code>SODIUM_CRYPTO_BOX_KEYPAIRBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-box-macbytes">
     <strong><code>SODIUM_CRYPTO_BOX_MACBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-box-noncebytes">
     <strong><code>SODIUM_CRYPTO_BOX_NONCEBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-box-seedbytes">
     <strong><code>SODIUM_CRYPTO_BOX_SEEDBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-kdf-bytes-min">
     <strong><code>SODIUM_CRYPTO_KDF_BYTES_MIN</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-kdf-bytes-max">
     <strong><code>SODIUM_CRYPTO_KDF_BYTES_MAX</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-kdf-contextbytes">
     <strong><code>SODIUM_CRYPTO_KDF_CONTEXTBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-kdf-keybytes">
     <strong><code>SODIUM_CRYPTO_KDF_KEYBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-kx-seedbytes">
     <strong><code>SODIUM_CRYPTO_KX_SEEDBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-kx-sessionkeybytes">
     <strong><code>SODIUM_CRYPTO_KX_SESSIONKEYBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-kx-publickeybytes">
     <strong><code>SODIUM_CRYPTO_KX_PUBLICKEYBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-kx-secretkeybytes">
     <strong><code>SODIUM_CRYPTO_KX_SECRETKEYBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-kx-keypairbytes">
     <strong><code>SODIUM_CRYPTO_KX_KEYPAIRBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-generichash-bytes">
     <strong><code>SODIUM_CRYPTO_GENERICHASH_BYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-generichash-bytes-min">
     <strong><code>SODIUM_CRYPTO_GENERICHASH_BYTES_MIN</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-generichash-bytes-max">
     <strong><code>SODIUM_CRYPTO_GENERICHASH_BYTES_MAX</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-generichash-keybytes">
     <strong><code>SODIUM_CRYPTO_GENERICHASH_KEYBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-generichash-keybytes-min">
     <strong><code>SODIUM_CRYPTO_GENERICHASH_KEYBYTES_MIN</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-generichash-keybytes-max">
     <strong><code>SODIUM_CRYPTO_GENERICHASH_KEYBYTES_MAX</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-pwhash-alg-argon2i13">
     <strong><code>SODIUM_CRYPTO_PWHASH_ALG_ARGON2I13</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-pwhash-alg-argon2id13">
     <strong><code>SODIUM_CRYPTO_PWHASH_ALG_ARGON2ID13</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-pwhash-alg-default">
     <strong><code>SODIUM_CRYPTO_PWHASH_ALG_DEFAULT</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-pwhash-saltbytes">
     <strong><code>SODIUM_CRYPTO_PWHASH_SALTBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-pwhash-strprefix">
     <strong><code>SODIUM_CRYPTO_PWHASH_STRPREFIX</code></strong>
     (<span class="type">string</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-pwhash-opslimit-interactive">
     <strong><code>SODIUM_CRYPTO_PWHASH_OPSLIMIT_INTERACTIVE</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-pwhash-memlimit-interactive">
     <strong><code>SODIUM_CRYPTO_PWHASH_MEMLIMIT_INTERACTIVE</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-pwhash-opslimit-moderate">
     <strong><code>SODIUM_CRYPTO_PWHASH_OPSLIMIT_MODERATE</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-pwhash-memlimit-moderate">
     <strong><code>SODIUM_CRYPTO_PWHASH_MEMLIMIT_MODERATE</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-pwhash-opslimit-sensitive">
     <strong><code>SODIUM_CRYPTO_PWHASH_OPSLIMIT_SENSITIVE</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-pwhash-memlimit-sensitive">
     <strong><code>SODIUM_CRYPTO_PWHASH_MEMLIMIT_SENSITIVE</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-pwhash-scryptsalsa208sha256-saltbytes">
     <strong><code>SODIUM_CRYPTO_PWHASH_SCRYPTSALSA208SHA256_SALTBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-pwhash-scryptsalsa208sha256-strprefix">
     <strong><code>SODIUM_CRYPTO_PWHASH_SCRYPTSALSA208SHA256_STRPREFIX</code></strong>
     (<span class="type">string</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-pwhash-scryptsalsa208sha256-opslimit-interactive">
     <strong><code>SODIUM_CRYPTO_PWHASH_SCRYPTSALSA208SHA256_OPSLIMIT_INTERACTIVE</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-pwhash-scryptsalsa208sha256-memlimit-interactive">
     <strong><code>SODIUM_CRYPTO_PWHASH_SCRYPTSALSA208SHA256_MEMLIMIT_INTERACTIVE</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-pwhash-scryptsalsa208sha256-opslimit-sensitive">
     <strong><code>SODIUM_CRYPTO_PWHASH_SCRYPTSALSA208SHA256_OPSLIMIT_SENSITIVE</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-pwhash-scryptsalsa208sha256-memlimit-sensitive">
     <strong><code>SODIUM_CRYPTO_PWHASH_SCRYPTSALSA208SHA256_MEMLIMIT_SENSITIVE</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-core-ristretto255-bytes">
     <strong><code>SODIUM_CRYPTO_CORE_RISTRETTO255_BYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
      Available as of PHP 8.1.0.
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-core-ristretto255-hashbytes">
     <strong><code>SODIUM_CRYPTO_CORE_RISTRETTO255_HASHBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
      Available as of PHP 8.1.0.
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-core-ristretto255-nonreducedscalarbytes">
     <strong><code>SODIUM_CRYPTO_CORE_RISTRETTO255_NONREDUCEDSCALARBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
      Available as of PHP 8.1.0.
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-core-ristretto255-scalarbytes">
     <strong><code>SODIUM_CRYPTO_CORE_RISTRETTO255_SCALARBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
      Available as of PHP 8.1.0.
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-scalarmult-bytes">
     <strong><code>SODIUM_CRYPTO_SCALARMULT_BYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-scalarmult-scalarbytes">
     <strong><code>SODIUM_CRYPTO_SCALARMULT_SCALARBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-scalarmult-ristretto255-bytes">
     <strong><code>SODIUM_CRYPTO_SCALARMULT_RISTRETTO255_BYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
      Available as of PHP 8.1.0.
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-scalarmult-ristretto255-scalarbytes">
     <strong><code>SODIUM_CRYPTO_SCALARMULT_RISTRETTO255_SCALARBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
      Available as of PHP 8.1.0.
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-shorthash-bytes">
     <strong><code>SODIUM_CRYPTO_SHORTHASH_BYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-shorthash-keybytes">
     <strong><code>SODIUM_CRYPTO_SHORTHASH_KEYBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-secretbox-keybytes">
     <strong><code>SODIUM_CRYPTO_SECRETBOX_KEYBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-secretbox-macbytes">
     <strong><code>SODIUM_CRYPTO_SECRETBOX_MACBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-secretbox-noncebytes">
     <strong><code>SODIUM_CRYPTO_SECRETBOX_NONCEBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-sign-bytes">
     <strong><code>SODIUM_CRYPTO_SIGN_BYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-sign-seedbytes">
     <strong><code>SODIUM_CRYPTO_SIGN_SEEDBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-sign-publickeybytes">
     <strong><code>SODIUM_CRYPTO_SIGN_PUBLICKEYBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-sign-secretkeybytes">
     <strong><code>SODIUM_CRYPTO_SIGN_SECRETKEYBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-sign-keypairbytes">
     <strong><code>SODIUM_CRYPTO_SIGN_KEYPAIRBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-stream-noncebytes">
     <strong><code>SODIUM_CRYPTO_STREAM_NONCEBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-stream-keybytes">
     <strong><code>SODIUM_CRYPTO_STREAM_KEYBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-stream-xchacha20-keybytes">
     <strong><code>SODIUM_CRYPTO_STREAM_XCHACHA20_KEYBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
      Available as of PHP 8.1.0.
     </span>
    </dd>

   
   
    <dt id="constant.sodium-crypto-stream-xchacha20-noncebytes">
     <strong><code>SODIUM_CRYPTO_STREAM_XCHACHA20_NONCEBYTES</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
      Available as of PHP 8.1.0.
     </span>
    </dd>

   
  </dl>

 </p>
</div>
</div></div></body></html>